﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TerryDong.DAL.DataModels
{
    [Serializable]
    public class OrdersDataModel
    {
        #region const fields
        /// <summary>
        /// 默认数据库链接名
        /// </summary>
        public const string m_DefalutConn = "conn_Order";
        /// <summary>
        /// 表名
        /// </summary>
        public const string m_TableName = "Orders";

        /// <summary>
        /// 主键名
        /// </summary>
        public const string m_PrimaryKey = "order_id";

        /// <summary>
        /// 自增长列
        /// </summary>
        public static readonly List<string> m_IdentityColumns = new List<string>() { "order_id" };

        /// <summary>
        /// 列名
        /// </summary>
        public struct m_Columns
        {
            public const string logs_id = "order_id";
            public const string event_type = "cust_id";
            public const string creation_date = "creation_date";
        }
        #endregion

        public long order_id { get; set; }
        public long cust_id { get; private set; }

    }
}
